﻿<controls:ChildWindow xmlns:my="clr-namespace:SLControls.Controls;assembly=SLControls"  xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit"  x:Class="VAdvantage.MainScreen.SettingDialog"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
            Style="{StaticResource MessageChildWindow}"
           Title="SettingDialog" Loaded="ScrollViewer_Loaded">
    <Border Name="LayoutBorder"  CornerRadius="4" BorderThickness="1" Background="White" BorderBrush="White">
        <Grid x:Name="child"  >
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="*" />

            </Grid.RowDefinitions>
            <my:RoundBusyIndicator Grid.Row="1" IsBusy="False" Name="busyind" />
            <Grid Background="AliceBlue"  >
                
                <TextBlock Margin="2" x:Name="txtHeader" Text="Setting" FontSize="14"></TextBlock>
                <Image HorizontalAlignment="Right" Stretch="Fill" MouseLeftButtonUp="Image_MouseLeftButtonUp" Height="25" Width="25"   Source="../Images/cancel_up.png"></Image>
            </Grid>
            <!--<ScrollViewer Grid.Row="1" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto" BorderBrush="{x:Null}" Loaded="ScrollViewer_Loaded">-->
            <toolkit:WrapPanel Margin="2" MinWidth="400" MaxWidth="500" MinHeight="200" Orientation="Horizontal" VerticalAlignment="Top" Grid.Row="1" x:Name="wpContainer" />
            <!--</ScrollViewer>-->
        </Grid>
    </Border>
</controls:ChildWindow>